//
//  NSMutableString+Tools.h
//  MiaoPai
//
//  Created by jiaxuzhou on 2017/6/10.
//  Copyright © 2017年 Jeakin. All rights reserved.
//
//


#import <Foundation/Foundation.h>
#import "NSObject+Tools.h"


/// 字符串保护
/// 是否为NSMutableString类型
#define MPT_mStr_Class(mstr) (MPT_Object_Is_ClassMember(mstr,[NSMutableString class]))

/// 是否有效，不为空，且是NSMutableString类型，且count值大于0
#define MPT_mStr_Is_Valid(mstr) ((MPT_Object_Not_Null(mstr)) && (MPT_mStr_Class(mstr)) && ([mstr length] > 0))

/// 是否无效，或为空，或不是NSMutableString类型，或count值小于等于0
#define MPT_mStr_Not_Valid(mstr) ((MPT_Object_Is_Null(mstr)) || (!MPT_mStr_Class(mstr)) || ([mstr length] <= 0))


@interface NSMutableString (Tools)


@end
